<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>后盾人 - houdunren.com</title>
  </head>
  <body>
    <div id="app">
      <div name="houdunren">houdunren.com</div>
      <div></div>
      <input type="text" name="username" />
    </div>
    <script>
      //   console.log(document.getElementsByName('username'))
      //   console.log(document.getElementById('app').getElementsByTagName('div'))

      console.log(app.getElementsByTagName('*'))
    </script>
  </body>
</html>
